package com.example.demo.service;

import org.springframework.stereotype.Service;

import com.example.demo.model.User;

@Service
public interface UserService extends BaseService<User> {

	public User findByUsername(String username);

	public User register(User entity) throws Exception;

	public void saveOrUpdate(User entity) throws Exception;

	public void deleteLogic(Object key) throws Exception;
	
//	public void updateNotNull(User entity);
}
